package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: 蒋学伟
 * @create: 2020-06-20 15:30:29
 * @Description 数据服务
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@TableName(value = "f_gather_server")
public class GatherServer implements Serializable {

    @TableId(type = IdType.AUTO, value = "intId")
    private Integer id;

    /**
     * 文件名称
     */
    @TableField("vcFileName")
    private String fileName;

    /**
     * 创建时间
     */
    @TableField("dtCollectTime")
    private Date collectTime;

    /**
     * 服务器id
     */
    @TableField("intServerId")
    private Integer serverId;

    /**
     * 服务器名称
     */
    @TableField("vcServerName")
    private Integer serverName;

    /**
     * 项目id
     */
    @TableField("intProjectId")
    private Integer projectId;

    /**
     * 项目名称
     */
    @TableField("vcProjectName")
    private Integer projectName;

    /**
     * 文件大小（单位MB，2位小数）
     */
    @TableField("douFileSize")
    private Double fileSize;

}
